package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;
//门店表
@Entity
public class corecmsstore {
    // 序列
    @Id
    private Integer id;

    // 是否为总店
    private Integer mainStore;

    // 总店编码
    private Integer corpId;

    // 分表标识
    private Integer splitId;

    // 分组类别
    private Integer splitGroupId;

    // 门店名称
    private String storeName;

    // 门店电话
    private String mobile;

    // 门店联系人
    private String linkMan;

    // 门店logo
    private String logoImage;

    // 保证金
    private double earnestAmount;

    // 保证金结余
    private double earnestBalance;

    // 门店地区id
    private Integer areaId;

    // 城市id
    private Integer cityId;

    // 省份id
    private Integer provinceId;

    // 门店详细信息
    private String address;

    // 坐标位置
    private String coordinate;

    // 维度
    private String latitude;

    // 经度
    private String longitude;

    // 是否默认
    private boolean isDefault;

    // 创建时间
    private Date createTime;

    // 更新时间
    private Date updateTime;

    // 距离
    private double distance;

    // 营业时间
    private String openingTime;

    // 打烊时间
    private String closingTime;

    // 小程序AppID
    private String appId;

    // 小程序appSecret
    private String appSecret;

    // 支付账号
    private String payAccount;

    // 商城类型(0是B2C，1是B2B)
    private Integer mallType;

    // 会员共享码
    private String sharingCode;

    // 是否删除
    private boolean isDelete;

    // Redis订阅频道号
    private Integer channel;

    // 同步数据第三方平URL
    private String syncUrl;

    // 是否同步
    private boolean syncFlag;

    @Generated(hash = 1904287780)
    public corecmsstore(Integer id, Integer mainStore, Integer corpId,
            Integer splitId, Integer splitGroupId, String storeName, String mobile,
            String linkMan, String logoImage, double earnestAmount,
            double earnestBalance, Integer areaId, Integer cityId,
            Integer provinceId, String address, String coordinate, String latitude,
            String longitude, boolean isDefault, Date createTime, Date updateTime,
            double distance, String openingTime, String closingTime, String appId,
            String appSecret, String payAccount, Integer mallType,
            String sharingCode, boolean isDelete, Integer channel, String syncUrl,
            boolean syncFlag) {
        this.id = id;
        this.mainStore = mainStore;
        this.corpId = corpId;
        this.splitId = splitId;
        this.splitGroupId = splitGroupId;
        this.storeName = storeName;
        this.mobile = mobile;
        this.linkMan = linkMan;
        this.logoImage = logoImage;
        this.earnestAmount = earnestAmount;
        this.earnestBalance = earnestBalance;
        this.areaId = areaId;
        this.cityId = cityId;
        this.provinceId = provinceId;
        this.address = address;
        this.coordinate = coordinate;
        this.latitude = latitude;
        this.longitude = longitude;
        this.isDefault = isDefault;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.distance = distance;
        this.openingTime = openingTime;
        this.closingTime = closingTime;
        this.appId = appId;
        this.appSecret = appSecret;
        this.payAccount = payAccount;
        this.mallType = mallType;
        this.sharingCode = sharingCode;
        this.isDelete = isDelete;
        this.channel = channel;
        this.syncUrl = syncUrl;
        this.syncFlag = syncFlag;
    }

    @Generated(hash = 203188443)
    public corecmsstore() {
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMainStore() {
        return this.mainStore;
    }

    public void setMainStore(Integer mainStore) {
        this.mainStore = mainStore;
    }

    public Integer getCorpId() {
        return this.corpId;
    }

    public void setCorpId(Integer corpId) {
        this.corpId = corpId;
    }

    public Integer getSplitId() {
        return this.splitId;
    }

    public void setSplitId(Integer splitId) {
        this.splitId = splitId;
    }

    public Integer getSplitGroupId() {
        return this.splitGroupId;
    }

    public void setSplitGroupId(Integer splitGroupId) {
        this.splitGroupId = splitGroupId;
    }

    public String getStoreName() {
        return this.storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getMobile() {
        return this.mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getLinkMan() {
        return this.linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    public String getLogoImage() {
        return this.logoImage;
    }

    public void setLogoImage(String logoImage) {
        this.logoImage = logoImage;
    }

    public double getEarnestAmount() {
        return this.earnestAmount;
    }

    public void setEarnestAmount(double earnestAmount) {
        this.earnestAmount = earnestAmount;
    }

    public double getEarnestBalance() {
        return this.earnestBalance;
    }

    public void setEarnestBalance(double earnestBalance) {
        this.earnestBalance = earnestBalance;
    }

    public Integer getAreaId() {
        return this.areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getCityId() {
        return this.cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getProvinceId() {
        return this.provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCoordinate() {
        return this.coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getLatitude() {
        return this.latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return this.longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public boolean getIsDefault() {
        return this.isDefault;
    }

    public void setIsDefault(boolean isDefault) {
        this.isDefault = isDefault;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public double getDistance() {
        return this.distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public String getOpeningTime() {
        return this.openingTime;
    }

    public void setOpeningTime(String openingTime) {
        this.openingTime = openingTime;
    }

    public String getClosingTime() {
        return this.closingTime;
    }

    public void setClosingTime(String closingTime) {
        this.closingTime = closingTime;
    }

    public String getAppId() {
        return this.appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return this.appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getPayAccount() {
        return this.payAccount;
    }

    public void setPayAccount(String payAccount) {
        this.payAccount = payAccount;
    }

    public Integer getMallType() {
        return this.mallType;
    }

    public void setMallType(Integer mallType) {
        this.mallType = mallType;
    }

    public String getSharingCode() {
        return this.sharingCode;
    }

    public void setSharingCode(String sharingCode) {
        this.sharingCode = sharingCode;
    }

    public boolean getIsDelete() {
        return this.isDelete;
    }

    public void setIsDelete(boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getChannel() {
        return this.channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public String getSyncUrl() {
        return this.syncUrl;
    }

    public void setSyncUrl(String syncUrl) {
        this.syncUrl = syncUrl;
    }

    public boolean getSyncFlag() {
        return this.syncFlag;
    }

    public void setSyncFlag(boolean syncFlag) {
        this.syncFlag = syncFlag;
    }
}
